import http from "../index";

export const getHonorRollListApi = async (data) =>
  await http.post("honorRoll/page/list", data);

export const insertHonorRollListApi = async (data) =>
  await http.post("honorRoll/insert", data);

export const deleteHonorRollListApi = async (data) =>
  await http.post("honorRoll/delete", data);

export const getHonorRollDetailApi = async (id) =>
  await http.get(`honorRoll/get/${id}`);

export const updateHonorRollListApi = async (data) =>
  await http.post("honorRoll/update", data);

export const downHonorRollListApi = async (data) =>
  await http.post("honorRoll/down/remove", data);
